import assessCheckApi from './api'
import { axios } from '@/utils/request'

// 个人党费记录-分页查询
export function list(params){
    return axios({
        url: assessCheckApi.list,
        method:'get' ,
        params:{...params},
        url_2:'outside',
    })
}
// 党员基本信息-添加
export function dyAdd(data){
    return axios({
        url: assessCheckApi.dyAdd,
        method:'post' ,
        data:data,
        url_2:'outside',
    })
}
// 党员基本信息-通过id删除
export function dyDelete(params){
    return axios({
        url: assessCheckApi.dyDelete,
        method:'delete' ,
        params:{...params},
        url_2:'outside',
    })
}
// 党员基本信息-批量删除
export function deleteBatch(params){
    return axios({
        url: assessCheckApi.deleteBatch,
        method:'delete' ,
        params:{...params},
        url_2:'outside',
    })
}
// 党员基本信息-编辑
export function dyEdit(data){
    return axios({
        url: assessCheckApi.dyEdit,
        method:'put' ,
        data:data,
        url_2:'outside',
    })
}
// 党员基本信息-通过id查询
export function queryById(params){
    return axios({
        url: assessCheckApi.queryById,
        method:'get' ,
        params:{...params},
        url_2:'outside',
    })
}
